package com.jy.rhin.infra.cda.mzzy;

import com.jy.rhin.model.body.zhenduanjilu.MenZhenZD;
import com.jy.rhin.utils.CDAUtil;
import lombok.Data;

import java.util.Date;

/**
 * @author dhl
 * @date 2023/2/15
 * @Description
 */
@Data
public class ZhenDuanInfoVo {

    public MenZhenZD menZhenZhenDuanVo() {
        MenZhenZD zhenDuan = new MenZhenZD();
        zhenDuan.setZhenDuanDM(this.zhenDuanBM.substring(0, 7));
        zhenDuan.setZhenDuanMC(this.zhenDuanMC);
        zhenDuan.setQueZhenSJ(CDAUtil.toD8(this.zhenDuanSJ));
        return zhenDuan;
    }

    /**
     * 就诊流水号
     */
    private String jiuZhenLSH;
    /**
     * 诊断时间
     */
    private Date zhenDuanSJ;
    /**
     * 诊断名称
     */
    private String zhenDuanMC;
    private String zhenDuanBM;

}
